package com.lkd.mapper;

import com.lkd.entity.Partner;
import com.lkd.vo.PartnerVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PartnerMapper {
    void savePartner(Partner partner);

    Partner selectByMobile(String mobile);

    List<PartnerVo> selectByConditon(String name);

    PartnerVo selectById(Integer id);

    void updateById(Partner partner);

    void deleteById(Integer id);

    int count();
}